export default defineAppConfig({
  pages: [
    'pages/index/index',
    'pages/settings/index'
  ],
  // 分包配置，将3D模型相关页面和AI对话页面分离
  subPackages: [
    {
      root: 'pages/theme',
      pages: [
        'artifacts'
      ]
    },
    {
      root: 'pages/artifact',
      pages: [
        'detail',
        'chat'
      ]
    }
  ],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: '#B8956A',
    navigationBarTitleText: '故物有灵',
    navigationBarTextStyle: 'white'
  },
  tabBar: {
    color: '#999999',
    selectedColor: '#8C6E4B',
    backgroundColor: '#FFFCF5',
    borderStyle: 'white',
    list: [
      {
        pagePath: 'pages/index/index',
        text: '首页'
        // iconPath: 'assets/icons/home.png',
        // selectedIconPath: 'assets/icons/home-active.png'
        // 注意：图标文件需要自行添加到 src/assets/icons/ 目录
      },
      {
        pagePath: 'pages/settings/index',
        text: '设置'
        // iconPath: 'assets/icons/settings.png',
        // selectedIconPath: 'assets/icons/settings-active.png'
        // 注意：图标文件需要自行添加到 src/assets/icons/ 目录
      }
    ]
  }
})
